package com.school.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.school.dao.HljtClassnotifyDao;
import com.school.entity.HljtClassnotify;
import com.school.service.HljtClassnotifyService;
@Service
public class HljtClassnotifyServiceImpl implements HljtClassnotifyService{
	
	@Autowired
	private HljtClassnotifyDao hljtClassnotifyDao;
	
	@Override
	public List<HljtClassnotify> findNotity(Integer classId, String type) {
		return hljtClassnotifyDao.findNotity(classId, type);
	}

	@Override
	public List<HljtClassnotify> findNotityList(Integer classId, String type) {
			return hljtClassnotifyDao.findNotityList(classId, type);
	}

	@Override
	public Integer deletewisdom(Integer id) {
		return hljtClassnotifyDao.deletewisdom(id);
	}

	@Override
	public Integer addwisdom(HljtClassnotify Classnotify) {
		return hljtClassnotifyDao.addwisdom(Classnotify);
	}

	@Override
	public Integer updatewisdom(HljtClassnotify Classnotify) {
		return hljtClassnotifyDao.updatewisdom(Classnotify);
	}

	@Override
	public List<HljtClassnotify> findListImagelikepage(String title, Integer pageSize, Integer pageIndex,
			Integer classid, String type) {
		return hljtClassnotifyDao.findListImagelikepage(title, pageSize, pageIndex, classid, type);
	}

	@Override
	public List<HljtClassnotify> findclassimage(String title, Integer classid, String type) {
		return hljtClassnotifyDao.findclassimage(title, classid, type);
	}

	@Override
	public List<HljtClassnotify> findNotityLists(Integer classId, String type, Integer pageSize, Integer pageIndex) {
		
		return hljtClassnotifyDao.findNotityLists(classId, type, pageSize, pageIndex);
	}

}
